[INFO] cloning repository https://github.com/ZeProf10T/Subnet-calculator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZeProf10T/Subnet-calculator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZeProf10T%2FSubnet-calculator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZeProf10T%2FSubnet-calculator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2f61d1e04f979f37c6e5539c2492139b7e12f83d
[INFO] building ZeProf10T/Subnet-calculator against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZeProf10T%2FSubnet-calculator" "/workspace/builds/worker-12/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ZeProf10T/Subnet-calculator on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ZeProf10T/Subnet-calculator
[INFO] finished tweaking git repo https://github.com/ZeProf10T/Subnet-calculator
[INFO] tweaked toml for git repo https://github.com/ZeProf10T/Subnet-calculator written to /workspace/builds/worker-12/source/Cargo.toml
[INFO] crate git repo https://github.com/ZeProf10T/Subnet-calculator already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 3d2bef8c62b1c69accdc372a1b3bf100f19a48ba9bbbe47bbde0ff8ed7f23f43
[INFO] running `Command { std: "docker" "start" "-a" "3d2bef8c62b1c69accdc372a1b3bf100f19a48ba9bbbe47bbde0ff8ed7f23f43", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3d2bef8c62b1c69accdc372a1b3bf100f19a48ba9bbbe47bbde0ff8ed7f23f43", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3d2bef8c62b1c69accdc372a1b3bf100f19a48ba9bbbe47bbde0ff8ed7f23f43", kill_on_drop: false }`
[INFO] [stdout] 3d2bef8c62b1c69accdc372a1b3bf100f19a48ba9bbbe47bbde0ff8ed7f23f43
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6673e5e73d9f558866160472be196403ea0498a8d226daaa4bb733423259cad0
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "6673e5e73d9f558866160472be196403ea0498a8d226daaa4bb733423259cad0", kill_on_drop: false }`
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling libc v0.2.68
[INFO] [stderr]    Compiling serde v1.0.106
[INFO] [stderr]    Compiling regex-automata v0.1.9
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap v2.33.0
[INFO] [stderr]    Compiling bstr v0.2.12
[INFO] [stderr]    Compiling csv v1.1.3
[INFO] [stderr]    Compiling subnet-calculator v1.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/show.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `first`
[INFO] [stdout]   --> src/export.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let first = ipv6::address::first(&network);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_first`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last`
[INFO] [stdout]   --> src/export.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let last = ipv6::address::last(&broadcast);
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_last`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hosts`
[INFO] [stdout]   --> src/export.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let hosts = ipv6::utils::host_count(&wildcard);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hosts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cidr`
[INFO] [stdout]   --> src/export.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let cidr = ipv6::utils::mask_to_cidr(&mask);
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_cidr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/common.rs:322:12
[INFO] [stdout]     |
[INFO] [stdout] 322 |         Ok(i) => {
[INFO] [stdout]     |            ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/common.rs:329:12
[INFO] [stdout]     |
[INFO] [stdout] 329 |         Ok(i) => {
[INFO] [stdout]     |            ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/common.rs:90:17
[INFO] [stdout]    |
[INFO] [stdout] 90 |             let mut limit: u32 = match limit.is_some() {
[INFO] [stdout]    |                 ----^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/common.rs:241:17
[INFO] [stdout]     |
[INFO] [stdout] 241 |             let mut limit: u128 = match limit.is_some() {
[INFO] [stdout]     |                 ----^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/show.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `first`
[INFO] [stdout]   --> src/export.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let first = ipv6::address::first(&network);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_first`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last`
[INFO] [stdout]   --> src/export.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let last = ipv6::address::last(&broadcast);
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_last`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hosts`
[INFO] [stdout]   --> src/export.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let hosts = ipv6::utils::host_count(&wildcard);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hosts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cidr`
[INFO] [stdout]   --> src/export.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let cidr = ipv6::utils::mask_to_cidr(&mask);
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_cidr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/common.rs:322:12
[INFO] [stdout]     |
[INFO] [stdout] 322 |         Ok(i) => {
[INFO] [stdout]     |            ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/common.rs:329:12
[INFO] [stdout]     |
[INFO] [stdout] 329 |         Ok(i) => {
[INFO] [stdout]     |            ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/common.rs:90:17
[INFO] [stdout]    |
[INFO] [stdout] 90 |             let mut limit: u32 = match limit.is_some() {
[INFO] [stdout]    |                 ----^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/common.rs:241:17
[INFO] [stdout]     |
[INFO] [stdout] 241 |             let mut limit: u128 = match limit.is_some() {
[INFO] [stdout]     |                 ----^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 29.54s
[INFO] running `Command { std: "docker" "inspect" "6673e5e73d9f558866160472be196403ea0498a8d226daaa4bb733423259cad0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6673e5e73d9f558866160472be196403ea0498a8d226daaa4bb733423259cad0", kill_on_drop: false }`
[INFO] [stdout] 6673e5e73d9f558866160472be196403ea0498a8d226daaa4bb733423259cad0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4287332e3e6ba88edb7082589643b67e5e3fe1594a999280c9c4e761af744111
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "4287332e3e6ba88edb7082589643b67e5e3fe1594a999280c9c4e761af744111", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/show.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `first`
[INFO] [stdout]   --> src/export.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let first = ipv6::address::first(&network);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_first`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last`
[INFO] [stdout]   --> src/export.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let last = ipv6::address::last(&broadcast);
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_last`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hosts`
[INFO] [stdout]   --> src/export.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let hosts = ipv6::utils::host_count(&wildcard);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hosts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cidr`
[INFO] [stdout]   --> src/export.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let cidr = ipv6::utils::mask_to_cidr(&mask);
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_cidr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/common.rs:322:12
[INFO] [stdout]     |
[INFO] [stdout] 322 |         Ok(i) => {
[INFO] [stdout]     |            ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/common.rs:329:12
[INFO] [stdout]     |
[INFO] [stdout] 329 |         Ok(i) => {
[INFO] [stdout]     |            ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/common.rs:90:17
[INFO] [stdout]    |
[INFO] [stdout] 90 |             let mut limit: u32 = match limit.is_some() {
[INFO] [stdout]    |                 ----^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling subnet-calculator v1.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/common.rs:241:17
[INFO] [stdout]     |
[INFO] [stdout] 241 |             let mut limit: u128 = match limit.is_some() {
[INFO] [stdout]     |                 ----^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/show.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `first`
[INFO] [stdout]   --> src/export.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let first = ipv6::address::first(&network);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_first`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last`
[INFO] [stdout]   --> src/export.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let last = ipv6::address::last(&broadcast);
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_last`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hosts`
[INFO] [stdout]   --> src/export.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let hosts = ipv6::utils::host_count(&wildcard);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hosts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cidr`
[INFO] [stdout]   --> src/export.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let cidr = ipv6::utils::mask_to_cidr(&mask);
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_cidr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/common.rs:322:12
[INFO] [stdout]     |
[INFO] [stdout] 322 |         Ok(i) => {
[INFO] [stdout]     |            ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/common.rs:329:12
[INFO] [stdout]     |
[INFO] [stdout] 329 |         Ok(i) => {
[INFO] [stdout]     |            ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/common.rs:90:17
[INFO] [stdout]    |
[INFO] [stdout] 90 |             let mut limit: u32 = match limit.is_some() {
[INFO] [stdout]    |                 ----^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/common.rs:241:17
[INFO] [stdout]     |
[INFO] [stdout] 241 |             let mut limit: u128 = match limit.is_some() {
[INFO] [stdout]     |                 ----^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Version`
[INFO] [stdout]   --> tests/other.rs:15:16
[INFO] [stdout]    |
[INFO] [stdout] 15 |             Ok(Version::Four)
[INFO] [stdout]    |                ^^^^^^^ use of undeclared type `Version`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Version`
[INFO] [stdout]   --> tests/other.rs:20:16
[INFO] [stdout]    |
[INFO] [stdout] 20 |             Ok(Version::Four)
[INFO] [stdout]    |                ^^^^^^^ use of undeclared type `Version`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Version`
[INFO] [stdout]   --> tests/other.rs:28:16
[INFO] [stdout]    |
[INFO] [stdout] 28 |             Ok(Version::Six)
[INFO] [stdout]    |                ^^^^^^^ use of undeclared type `Version`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Version`
[INFO] [stdout]   --> tests/other.rs:33:16
[INFO] [stdout]    |
[INFO] [stdout] 33 |             Ok(Version::Six)
[INFO] [stdout]    |                ^^^^^^^ use of undeclared type `Version`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/show.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `version` in this scope
[INFO] [stdout]   --> tests/other.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |             version("192.168.0.20"),
[INFO] [stdout]    |             ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 8  |     use subnet_calculator::common::version;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `version` in this scope
[INFO] [stdout]   --> tests/other.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |             version("0.0.0.0"),
[INFO] [stdout]    |             ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 8  |     use subnet_calculator::common::version;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `version` in this scope
[INFO] [stdout]   --> tests/other.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |             version("fe80::1"),
[INFO] [stdout]    |             ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 8  |     use subnet_calculator::common::version;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `version` in this scope
[INFO] [stdout]   --> tests/other.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |             version("2001:0:5:3::4e7b"),
[INFO] [stdout]    |             ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 8  |     use subnet_calculator::common::version;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `version` in this scope
[INFO] [stdout]   --> tests/other.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |             version("20001::1"),
[INFO] [stdout]    |             ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 8  |     use subnet_calculator::common::version;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `version` in this scope
[INFO] [stdout]   --> tests/other.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |             version("256.28.17.3"),
[INFO] [stdout]    |             ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 8  |     use subnet_calculator::common::version;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Ipv4Addr`, `Ipv6Addr`
[INFO] [stdout]  --> tests/other.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::net::{Ipv4Addr, Ipv6Addr};
[INFO] [stdout]   |                ^^^^^^^^  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `subnet_calculator::ipv4`
[INFO] [stdout]  --> tests/other.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use subnet_calculator::ipv4;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]  --> tests/other.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     use super::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/show.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `subnet-calculator`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `first`
[INFO] [stdout]   --> src/export.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let first = ipv6::address::first(&network);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_first`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last`
[INFO] [stdout]   --> src/export.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let last = ipv6::address::last(&broadcast);
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_last`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hosts`
[INFO] [stdout]   --> src/export.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let hosts = ipv6::utils::host_count(&wildcard);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hosts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cidr`
[INFO] [stdout]   --> src/export.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let cidr = ipv6::utils::mask_to_cidr(&mask);
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_cidr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/common.rs:322:12
[INFO] [stdout]     |
[INFO] [stdout] 322 |         Ok(i) => {
[INFO] [stdout]     |            ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/common.rs:329:12
[INFO] [stdout]     |
[INFO] [stdout] 329 |         Ok(i) => {
[INFO] [stdout]     |            ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `first`
[INFO] [stdout]   --> src/export.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let first = ipv6::address::first(&network);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_first`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last`
[INFO] [stdout]   --> src/export.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let last = ipv6::address::last(&broadcast);
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_last`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hosts`
[INFO] [stdout]   --> src/export.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let hosts = ipv6::utils::host_count(&wildcard);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_hosts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cidr`
[INFO] [stdout]   --> src/export.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let cidr = ipv6::utils::mask_to_cidr(&mask);
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_cidr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/common.rs:322:12
[INFO] [stdout]     |
[INFO] [stdout] 322 |         Ok(i) => {
[INFO] [stdout]     |            ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/common.rs:329:12
[INFO] [stdout]     |
[INFO] [stdout] 329 |         Ok(i) => {
[INFO] [stdout]     |            ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/common.rs:90:17
[INFO] [stdout]    |
[INFO] [stdout] 90 |             let mut limit: u32 = match limit.is_some() {
[INFO] [stdout]    |                 ----^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/common.rs:241:17
[INFO] [stdout]     |
[INFO] [stdout] 241 |             let mut limit: u128 = match limit.is_some() {
[INFO] [stdout]     |                 ----^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/common.rs:90:17
[INFO] [stdout]    |
[INFO] [stdout] 90 |             let mut limit: u32 = match limit.is_some() {
[INFO] [stdout]    |                 ----^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/common.rs:241:17
[INFO] [stdout]     |
[INFO] [stdout] 241 |             let mut limit: u128 = match limit.is_some() {
[INFO] [stdout]     |                 ----^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "4287332e3e6ba88edb7082589643b67e5e3fe1594a999280c9c4e761af744111", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4287332e3e6ba88edb7082589643b67e5e3fe1594a999280c9c4e761af744111", kill_on_drop: false }`
[INFO] [stdout] 4287332e3e6ba88edb7082589643b67e5e3fe1594a999280c9c4e761af744111
